<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{$data.title} - {$Config.sitename}</title>
    <link rel="stylesheet" href="__CSS__/global.css" />
    <link rel="stylesheet" href="__CSS__/single.css" />
    <link rel="stylesheet" href="__CSS__/yf.css" />
    <Admintemplate file="Home/Public/global_js"/>
    <script src="__JS__/jquery.min.js"></script>
</head>

<body>

<div class="b-page">
<include file="Public:header" />

    <div class="contentbj">
        <div class="news_body">
            <h1 class="news_title">{$data.title}</h1>
            <div class="news_ftitle">
                <div class="news_right">
                    <div class="b-zuopinInfo">
                        类目: <a href="__WEBURL__/activity">活动列表</a>
                        {$data.create_time|date='Y-m-d H:i',###}
                        <img src="__IMAGES__/icon_quanzi_view.png" class="pic_mid"><span>浏览{$data.clicknum}次</span>
                        <i class="b-messageIcon pic_mid"></i>{$data.msgnum|getNullNum}
                    </div>
                </div>

            </div>

            <!--新闻正文-->
            <div class="newscontent">
                <div>{$data.content}</div>
            </div>

            <!--点赞和留言-->
            <div class="messagearea">
                <!-- fayan -->
                <div class="b-zuopinFayan l-mgt20">
                    <a href="__WEBURL__/u/{$userinfo.openuid}" class="b-zuopinFayan__pic">
                        <img class="l-full" src="{$userinfo.uavatar|getUavatar}" alt="">
                        <i class="b-popOtherZuopin__itemMask"></i>
                    </a>
                    <form onsubmit="return false">
                        <textarea name="content" id="content" cols="30" title="评论至少10个字! " required data-len="10" rows="10" class="b-zuopinFayan__textarea"></textarea>
                        <input type="hidden" id="infoid" value="{$data.id}"/>
                        <input type="hidden" id="msgType" value="6"/>
                        <button class="b-zuopinFayan__btn" id="sendMsg_btn">评论</button>
                    </form>
                </div>
                <!-- 留言 -->

                <div class="b-huiyuan__body">
                    <div class="b-huiying" style="padding:20px 0;">
                        <div class="b-huiying__title">{$data.msgnum|getNullNum} 回应</div>
                        <div class="b-huiying__list">
                            <include file="Public:msglist" />
                        </div>
                    </div>

                </div>

            </div>

        </div>

    </div>


    <include file="Public:footer" />
</div>

<script src="__JS__/index.js"></script>
<script src="__JS__/jquery.common.js?v=20150101"></script>
<script src="__JS__/jquery.doajax.js"></script>

</body>
</html>